<HTML>
<HEAD>
<TITLE>Situs Civitas Akademika Universitas Widya Kartika</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name="robots" content="noarchive">
</HEAD>
<BODY BGCOLOR=#000000 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<CENTER>
<!-- ImageReady Slices (main page.psd) -->
<TABLE WIDTH=1000 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<TR>
		<TD COLSPAN=13>
			<IMG SRC="images/index_01.gif" WIDTH=1000 HEIGHT=146 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=146 ALT=""></TD>
	</TR>
	<TR>
		<TD ROWSPAN=12>
			<IMG SRC="images/index_02.gif" WIDTH=137 HEIGHT=332 ALT=""></TD>
		<TD COLSPAN=2 ROWSPAN=4>
			<a href="http://www.uwika.net:9090/webchat">
			<IMG SRC="images/index_03.gif" WIDTH=193 HEIGHT=128 ALT="Customer & Student Service" border="0"></a></TD>
		<TD COLSPAN=10>
			<IMG SRC="images/index_04.gif" WIDTH=670 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=3 ROWSPAN=6>
			<IMG SRC="images/index_05.gif" WIDTH=16 HEIGHT=161 ALT=""></TD>
		<TD ROWSPAN=4>
			<a href="https://www.uwika.net/e-learning">
			<IMG SRC="images/index_06.gif" WIDTH=215 HEIGHT=128 ALT="E-Learning UWIKA" border="0"></a></TD>
		<TD COLSPAN=6>
			<IMG SRC="images/index_07.gif" WIDTH=439 HEIGHT=3 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=3 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=3 ROWSPAN=4>
			<IMG SRC="images/index_08.gif" WIDTH=12 HEIGHT=155 ALT=""></TD>
		<TD>
			<a href="https://www.uwika.net/labkom/billing">
			<IMG SRC="images/index_09.gif" WIDTH=218 HEIGHT=118 ALT="UWIKA Billing Information System" border="0"></a></TD>
		<TD COLSPAN=2 ROWSPAN=4>
			<IMG SRC="images/index_10.gif" WIDTH=209 HEIGHT=155 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=118 ALT=""></TD>
	</TR>
	<TR>
		<TD ROWSPAN=3>
			<IMG SRC="images/index_11.gif" WIDTH=218 HEIGHT=37 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=6 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=2 ROWSPAN=4>
			<IMG SRC="images/index_12.gif" WIDTH=193 HEIGHT=39 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
	</TR>
	<TR>
		<TD ROWSPAN=2>
			<IMG SRC="images/index_13.gif" WIDTH=215 HEIGHT=33 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=30 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=2>
			<IMG SRC="images/index_14.gif" WIDTH=10 HEIGHT=3 ALT=""></TD>
		<TD COLSPAN=3 ROWSPAN=5>
			<a href="labkom/jadwal">
			<IMG SRC="images/index_15.gif" WIDTH=221 HEIGHT=132 ALT="Jadwal Praktikum LABKOM" border="0"></a></TD>
		<TD ROWSPAN=6>
			<IMG SRC="images/index_16.gif" WIDTH=208 HEIGHT=173 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=3 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=2>
			<IMG SRC="images/index_17.gif" WIDTH=14 HEIGHT=5 ALT=""></TD>
		<TD COLSPAN=3 ROWSPAN=3>
			<a href="http://www.uwika.net/blog">
			<IMG SRC="images/index_18.gif" WIDTH=220 HEIGHT=128 ALT="Blog UWIKA" border="0"></a></TD>
		<TD ROWSPAN=5>
			<IMG SRC="images/index_19.gif" WIDTH=7 HEIGHT=170 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=5 ALT=""></TD>
	</TR>
	<TR>
		<TD ROWSPAN=4>
			<IMG SRC="images/index_20.gif" WIDTH=4 HEIGHT=165 ALT=""></TD>
		<TD COLSPAN=2>
			<a href="https://www.uwika.net/saints">
			<IMG SRC="images/index_21.gif" WIDTH=191 HEIGHT=118 ALT="SAINTS" border="0"></a></TD>
		<TD ROWSPAN=4>
			<IMG SRC="images/index_22.gif" WIDTH=12 HEIGHT=165 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=118 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=2 ROWSPAN=3>
			<IMG SRC="images/index_23.gif" WIDTH=191 HEIGHT=47 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=5 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=3 ROWSPAN=2>
			<IMG SRC="images/index_24.gif" WIDTH=220 HEIGHT=42 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
	</TR>
	<TR>
		<TD COLSPAN=3>
			<IMG SRC="images/index_25.gif" WIDTH=221 HEIGHT=41 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=41 ALT=""></TD>
	</TR>
	<TR>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=137 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=4 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=189 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=2 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=12 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=2 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=215 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=3 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=7 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=2 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=218 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
		<TD>
			<IMG SRC="images/spacer.gif" WIDTH=208 HEIGHT=1 ALT=""></TD>
		<TD></TD>
	</TR>
</TABLE>
<!-- End ImageReady Slices -->
<?php
$errorlevel=error_reporting();
error_reporting($errorlevel & ~E_NOTICE);
error_reporting($error_level);
echo "<font face=\"Arial\" color=\"#FFFF00\"><CENTER>";
echo "<b><a href=\"/cgi-bin/chpasswd.cgi\">GANTI PASSWORD PROXY</a> | <a href=\"/spark.exe\">DOWNLOAD SPARK</a></b>";
echo "<br><br>";
$http = fsockopen("127.0.0.1", 8080);
$ftp = fsockopen("127.0.0.1", 21);
//$pop3 = fsockopen("172.27.1.103", 110);
//$smtp = fsockopen("172.27.1.103",25);
$spark = fsockopen("127.0.0.1", 5222);
$proxy = fsockopen("127.0.0.1",3128);
if ($http) {
$status .= "<font face=\"Arial\" size=\"2\"><b>HTTP : </b><font color=\"#008000\"> Working </font>| </font>";
}
else {
$status .= "<font face=\"Arial\" size=\"2\"><b>HTTP : </b><font color=\"#FF0000\"> Not Working </font>| </font>";
}

if ($ftp) {
$status .= "<font face=\"Arial\" size=\"2\"><b>FTP : </b><font color=\"#008000\"> Working </font>| </font>";
}
else {
$status .= "<font face=\"Arial\" size=\"2\"><b>FTP : </b><font color=\"#FF0000\"> Not Working </font>| </font>";
}

/*
if ($pop3) {
$status .= "<font face=\"Arial\" size=\"2\"><b>POP3 : </b><font color=\"#008000\"> Working </font>| </font>";
}
else {
$status .= "<font face=\"Arial\" size=\"2\"><b>POP3 : </b><font color=\"#FF0000\"> Not Working </font>| </font>";
}

if ($smtp) {
$status .= "<font face=\"Arial\" size=\"2\"><b>SMTP : </b><font color=\"#008000\"> Working </font>| </font>";
}
else {
$status .= "<font face=\"Arial\" size=\"2\"><b>SMTP : </b><font color=\"#FF0000\"> Not Working </font>| </font>";
}
*/

if ($spark) {
$status .= "<font face=\"Arial\" size=\"2\"><b>Spark : </b><font color=\"#008000\"> Working </font>| </font>";
}
else {
$status .= "<font face=\"Arial\" size=\"2\"><b>Spark : </b><font color=\"#FF0000\"> Not Working </font>| </font>";
}

if ($proxy) {
$status .= "<font face=\"Arial\" size=\"2\"><b>Proxy : </b><font color=\"#008000\"> Working </font> </font>";
}
else {
$status .= "<font face=\"Arial\" size=\"2\"><b>Proxy : </b><font color=\"#FF0000\"> Not Working </font> </font>";
}

echo("$status");
echo "<br>";
$uptime=exec("uptime");
echo "Server Status : $uptime<br>";

$status=exec("ifstat -bti rl1 0.5 1");
preg_match('/([^\s]+)[\W]+([^\s]+)[\W]+([^\s]+)/',$status,$result);

echo "Current Internet Speed Downstream : ";
echo "$result[2] kbps - ";
echo "Upstream : ";
echo "$result[3] kbps<br>";
?>
</BODY>
</HTML>
